package com.platform.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 实体
 * 表名 api_comment
 *
 * @author zhurusen
 * @email 524227263@qq.com
 * @date 2018-05-18 13:56:14
 */
public class ApiCommentVo implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //创建时间
    @JsonIgnore
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
    //发起评论的id
    @JsonIgnore
    private Long userId;
    private UserInfo user;
    //被评论的主播id
    private Long commentUserId;
    private UserInfo commentUser;
    //订单
    @JsonIgnore
    private Long orderId;
    //1 一对一视频 2 情感咨询 3 叫醒服务 4旅游向导
    private String mouldName;
    //1喜欢 2 不喜欢
    private Long isLike;
    //内容
    private String content;

    private List<ApiUserLabelVo> labelVoList;

    public ApiCommentVo setLabelVoList(List<ApiUserLabelVo> labelVoList) {
        this.labelVoList = labelVoList;
        return this;
    }

    public UserInfo getUser() {
        return user;
    }

    public ApiCommentVo setUser(UserInfo user) {
        this.user = user;
        return this;
    }

    public UserInfo getCommentUser() {
        return commentUser;
    }

    public ApiCommentVo setCommentUser(UserInfo commentUser) {
        this.commentUser = commentUser;
        return this;
    }

    public List<ApiUserLabelVo> getLabelVoList() {
        return labelVoList;
    }

    /**
     * 设置：
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置：创建时间
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取：创建时间
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * 设置：发起评论的id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取：发起评论的id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置：被评论的主播id
     */
    public void setCommentUserId(Long commentUserId) {
        this.commentUserId = commentUserId;
    }

    /**
     * 获取：被评论的主播id
     */
    public Long getCommentUserId() {
        return commentUserId;
    }

    /**
     * 设置：订单
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取：订单
     */
    public Long getOrderId() {
        return orderId;
    }

    public String getMouldName() {
        return mouldName;
    }

    public ApiCommentVo setMouldName(String mouldName) {
        this.mouldName = mouldName;
        return this;
    }

    /**
     * 设置：1喜欢 2 不喜欢
     */
    public void setIsLike(Long isLike) {
        this.isLike = isLike;
    }

    /**
     * 获取：1喜欢 2 不喜欢
     */
    public Long getIsLike() {
        return isLike;
    }

    /**
     * 设置：内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取：内容
     */
    public String getContent() {
        return content;
    }
}
